package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CInternetshopDao;
import gov.ccswj.modules.ccbusiness.entity.CInternetshopEntity;
import gov.ccswj.modules.ccbusiness.service.CInternetshopService;



@Service("cInternetshopService")
public class CInternetshopServiceImpl implements CInternetshopService {
	@Autowired
	private CInternetshopDao cInternetshopDao;
	
	@Override
	public CInternetshopEntity queryObject(Integer id){
		return cInternetshopDao.queryObject(id);
	}
	
	@Override
	public List<CInternetshopEntity> queryList(Map<String, Object> map){
		return cInternetshopDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cInternetshopDao.queryTotal(map);
	}
	
	@Override
	public void save(CInternetshopEntity cInternetshop){
		cInternetshopDao.save(cInternetshop);
	}
	
	@Override
	public void update(CInternetshopEntity cInternetshop){
		cInternetshopDao.update(cInternetshop);
	}
	
	@Override
	public void delete(Integer id){
		cInternetshopDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cInternetshopDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cInternetshopDao.delete(entname);
		
	}
}
